home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / fortune-.tar / fortune- / fortune / util / Makefile < prev    next >
Makefile  |  1995-10-12  |  820b  |  30 lines

  1. # Note: this makefile should be called by the makefile in the parent
  2. # directory, which will pass it a number of variables defined there.
  3. # To make the files here properly, try make util-bin or make util-debug
  4. # from there.  Install *only* works at the top level; do make install-util
  5. # and make install-uman.  make clean will work properly if called in
  6. # this directory.
  7.  
  8. all: strfile unstr
  9.  
  10. # Grr.  There oughta be a way to move DEBUG*FLAGS into *FLAGS and call
  11. # make, but if there is, I don't know it.
  12. debug:
  13.     gcc $(DEBUGCFLAGS) -c strfile.c -o strfile.o
  14.     gcc $(DEBUGCFLAGS) -c unstr.c -o unstr.o
  15.     gcc $(DEBUGLDFLAGS) unstr.o -o unstr
  16.     gcc $(DEBUGLDFLAGS) strfile.o -o strfile
  17.  
  18. strfile: strfile.o
  19.  
  20. unstr: unstr.o
  21.  
  22. randstr: randstr.o
  23.  
  24. rot: rot.o
  25.  
  26. ansify: ansify.o
  27.  
  28. clean:
  29.     -rm -f *.o unstr strfile randstr rot ansify
  30.